Aspect-Oriented Instrumentation with GCC

نویسندگان

  • Justin Seyster
  • Ketan Dixit
  • Xiaowan Huang
  • Radu Grosu
  • Klaus Havelund
  • Scott A. Smolka
  • Scott D. Stoller
  • Erez Zadok
چکیده

The addition of plug-in support in the latest release of GCC makes it an attractive platform for runtime instrumentation, as GCC plug-ins can directly add instrumentation by transforming the compiler’s intermediate representation. Such transformations, however, require expert knowledge of GCC internals. To address this situation, we present the InterAspect program-instrumentation framework, which allows instrumentation plug-ins to be developed using the familiar vocabulary of Aspect-Oriented Programming pointcuts, join points, and advice functions. InterAspect also supports powerful customized instrumentation, where specific information about each join point in a pointcut, as well as the results of static analysis, can be used to customize the inserted instrumentation. We introduce the InterAspect API and present several examples that illustrate how it can be applied to useful runtime verification problems.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

InterAspect: aspect-oriented instrumentation with GCC

We present the INTERASPECT instrumentation framework for GCC, a widely used compiler infrastructure. The addition of plug-in support in the latest release of GCC makes it an attractive platform for runtime instrumentation, as GCC plug-ins can directly add instrumentation by transforming the compiler’s intermediate representation. Such transformations, however, require expert knowledge of GCC in...

متن کامل

TinyC 2 : Towards building a dynamic weaving aspect language for C ∗

The runtime behaviors of software systems are often subject to alteration or intervention after their development cycles for various reasons such as performance profiling, debugging, code specialization, and more. There are two separate domains related to the instrumentation of software systems, one being various performance measurement and instrumentation tools, the other the new aspect orient...

متن کامل

Model-Driven Instrumentation for Dynamic Analysis of Legacy Software Systems

Dynamic analysis requires the instrumentation of application code with monitoring probes. This paper presents an approach to generate instrumentation artifacts from models augmented with analysis directives. Special emphasis is put on how to add monitoring instrumentation by means of aspect-oriented programming (AOP) to programs written in legacy languages.

متن کامل

Aspect-Oriented Instrumentation for Capturing Task- Based Event Traces

User interface events provide valuable information about user behavior with respect to an application’s user interface and therefore are considered as an important source of data for usability evaluation. Since usability evaluation is based on tasks that users perform, it is crucial to capture user interface events with suff icient information for task identification. However, how to make it po...

متن کامل

An Extensible AOP Framework for Runtime Monitoring

We present a design and initial prototype for Teams, a new aspect oriented programming framework designed specifically for usage as an abstract instrumentation capability for runtime monitoring and dynamic analysis. Our goals for this framework are simplicity, extensibility, portability, and monitoring concept coverage. If successful, Teams will provide us and other researchers an easy-to-use p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010